package com.ruoyi.coronary.mapper;

import java.util.List;
import com.ruoyi.coronary.domain.CoronaryAppointment;

/**
 * 挂号信息Mapper接口
 * 
 * @author wky
 * @date 2024-04-03
 */
public interface CoronaryAppointmentMapper 
{
    /**
     * 查询挂号信息
     * 
     * @param appointmentId 挂号信息主键
     * @return 挂号信息
     */
    public CoronaryAppointment selectCoronaryAppointmentByAppointmentId(Long appointmentId);

    /**
     * 查询挂号信息列表
     * 
     * @param coronaryAppointment 挂号信息
     * @return 挂号信息集合
     */
    public List<CoronaryAppointment> selectCoronaryAppointmentList(CoronaryAppointment coronaryAppointment);

    /**
     * 新增挂号信息
     * 
     * @param coronaryAppointment 挂号信息
     * @return 结果
     */
    public int insertCoronaryAppointment(CoronaryAppointment coronaryAppointment);

    /**
     * 修改挂号信息
     * 
     * @param coronaryAppointment 挂号信息
     * @return 结果
     */
    public int updateCoronaryAppointment(CoronaryAppointment coronaryAppointment);

    /**
     * 删除挂号信息
     * 
     * @param appointmentId 挂号信息主键
     * @return 结果
     */
    public int deleteCoronaryAppointmentByAppointmentId(Long appointmentId);

    /**
     * 批量删除挂号信息
     * 
     * @param appointmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCoronaryAppointmentByAppointmentIds(Long[] appointmentIds);
}
